//
//  BaseZJPOPView.h
//  MarryBackEnd
//
//  Created by mac on 2020/8/6.
//  Copyright © 2020 WPP. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ZJAnimationPopView.h"
NS_ASSUME_NONNULL_BEGIN

@interface BaseZJPOPView : UIView
/// 通过自定义视图来构造弹框视图
/// @param frame frame
/// @param popStyle 弹出方式
/// @param dismissStyle 消失方式
/// @param parentView 父视图
- (instancetype)initWithFrame:(CGRect)frame popStyle:(ZJAnimationPopStyle)popStyle dismissStyle:(ZJAnimationDismissStyle)dismissStyle parentView:(UIView *)parentView;

/// 传入属性
@property(nonatomic,weak)BaseVC *parentVC;

/// 弹出动画
- (void)pop;
/// 消失动画
- (void)dismiss;

/// 公开属性
@property(nonatomic,weak)ZJAnimationPopView *popView;

@end

NS_ASSUME_NONNULL_END
